package com.lzh.thinkpet.model;

import java.util.Date;

public class Goods {
    private Integer goodsId;

    private Integer goodsCategoryId;

    private String goodsName;

    private String goodsMainPhoto;

    private Float goodsPrice;

    private Integer goodsNum;

    private String goodsDesc;

    private Integer goodsSupplierId;

    private Date goodsReleaseTime;

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsCategoryId=" + goodsCategoryId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsMainPhoto='" + goodsMainPhoto + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsNum=" + goodsNum +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsSupplierId=" + goodsSupplierId +
                ", goodsReleaseTime=" + goodsReleaseTime +
                '}';
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsCategoryId() {
        return goodsCategoryId;
    }

    public void setGoodsCategoryId(Integer goodsCategoryId) {
        this.goodsCategoryId = goodsCategoryId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getGoodsMainPhoto() {
        return goodsMainPhoto;
    }

    public void setGoodsMainPhoto(String goodsMainPhoto) {
        this.goodsMainPhoto = goodsMainPhoto == null ? null : goodsMainPhoto.trim();
    }

    public Float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc == null ? null : goodsDesc.trim();
    }

    public Integer getGoodsSupplierId() {
        return goodsSupplierId;
    }

    public void setGoodsSupplierId(Integer goodsSupplierId) {
        this.goodsSupplierId = goodsSupplierId;
    }

    public Date getGoodsReleaseTime() {
        return goodsReleaseTime;
    }

    public void setGoodsReleaseTime(Date goodsReleaseTime) {
        this.goodsReleaseTime = goodsReleaseTime;
    }
}